Optimal. Leaf size=59 \[ \frac {\sqrt {\pi } C\left (\frac {2 \sqrt {\sin ^{-1}(a x)}}{\sqrt {\pi }}\right )}{8 a^2}-\frac {\sqrt {\sin ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4629, 4723, 3312, 3304, 3352} \[ \frac {\sqrt {\pi } \text {FresnelC}\left (\frac {2 \sqrt {\sin ^{-1}(a x)}}{\sqrt {\pi }}\right )}{8 a^2}-\frac {\sqrt {\sin ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3304
Rule 3312
Rule 3352
Rule 4629
Rule 4723
Rubi steps
\begin {align*} \int x \sqrt {\sin ^{-1}(a x)} \, dx &=\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}-\frac {1}{4} a \int \frac {x^2}{\sqrt {1-a^2 x^2} \sqrt {\sin ^{-1}(a x)}} \, dx\\ &=\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}-\frac {\operatorname {Subst}\left (\int \frac {\sin ^2(x)}{\sqrt {x}} \, dx,x,\sin ^{-1}(a x)\right )}{4 a^2}\\ &=\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}-\frac {\operatorname {Subst}\left (\int \left (\frac {1}{2 \sqrt {x}}-\frac {\cos (2 x)}{2 \sqrt {x}}\right ) \, dx,x,\sin ^{-1}(a x)\right )}{4 a^2}\\ &=-\frac {\sqrt {\sin ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}+\frac {\operatorname {Subst}\left (\int \frac {\cos (2 x)}{\sqrt {x}} \, dx,x,\sin ^{-1}(a x)\right )}{8 a^2}\\ &=-\frac {\sqrt {\sin ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}+\frac {\operatorname {Subst}\left (\int \cos \left (2 x^2\right ) \, dx,x,\sqrt {\sin ^{-1}(a x)}\right )}{4 a^2}\\ &=-\frac {\sqrt {\sin ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sin ^{-1}(a x)}+\frac {\sqrt {\pi } C\left (\frac {2 \sqrt {\sin ^{-1}(a x)}}{\sqrt {\pi }}\right )}{8 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.02, size = 81, normalized size = 1.37 \[ -\frac {\sqrt {\sin ^{-1}(a x)} \left (\sqrt {i \sin ^{-1}(a x)} \Gamma \left (\frac {3}{2},-2 i \sin ^{-1}(a x)\right )+\sqrt {-i \sin ^{-1}(a x)} \Gamma \left (\frac {3}{2},2 i \sin ^{-1}(a x)\right )\right )}{8 \sqrt {2} a^2 \sqrt {\sin ^{-1}(a x)^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.57, size = 71, normalized size = 1.20 \[ -\frac {\left (i + 1\right ) \, \sqrt {\pi } \operatorname {erf}\left (\left (i - 1\right ) \, \sqrt {\arcsin \left (a x\right )}\right )}{32 \, a^{2}} + \frac {\left (i - 1\right ) \, \sqrt {\pi } \operatorname {erf}\left (-\left (i + 1\right ) \, \sqrt {\arcsin \left (a x\right )}\right )}{32 \, a^{2}} - \frac {\sqrt {\arcsin \left (a x\right )} e^{\left (2 i \, \arcsin \left (a x\right )\right )}}{8 \, a^{2}} - \frac {\sqrt {\arcsin \left (a x\right )} e^{\left (-2 i \, \arcsin \left (a x\right )\right )}}{8 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 42, normalized size = 0.71 \[ \frac {-2 \sqrt {\arcsin \left (a x \right )}\, \sqrt {\pi }\, \cos \left (2 \arcsin \left (a x \right )\right )+\pi \FresnelC \left (\frac {2 \sqrt {\arcsin \left (a x \right )}}{\sqrt {\pi }}\right )}{8 a^{2} \sqrt {\pi }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int x\,\sqrt {\mathrm {asin}\left (a\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \sqrt {\operatorname {asin}{\left (a x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________